package com.sservice.service.service;

import com.sservice.model.entity.ClienteleReconciliation;
import com.sservice.model.vo.ClienteleReconciliationVo;

import java.util.List;

/**
 * Created by suweiming on 2017/12/20.
 */

public interface ClienteleReconciliationService {
    int deleteByPrimaryKey(Long id);

    int insert(ClienteleReconciliation record);

    int insertSelective(ClienteleReconciliation record);

    ClienteleReconciliation selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ClienteleReconciliation record);

    int updateByPrimaryKey(ClienteleReconciliation record);

    /**
     * 按条件统计
     *
     * @param record
     * @return
     */
    int queryByCount(ClienteleReconciliationVo record);

    /**
     * 分页
     *
     * @param record
     * @return
     */
    List<ClienteleReconciliation> queryByPage(ClienteleReconciliationVo record);
}
